#include <stdio.h> 
int main()
{
	char str[200];
	scanf("%s", str);
	for ( int i = 0; str[i] != '\0'; i++ ) {
		if ( 'A' <= str[i] && str[i] <= 'Z' ) {
			if ( str[i] + 3 <= 'Z' ) {
				str[i] += 3;
			}
			else {
				str[i] = (str[i] + 3 ) % 'Z' - 1 + 'A';	
			}
		}
		else if ( 'a' <= str[i] && str[i] <= 'z' ) {
			if ( str[i] + 3 <= 'z' ) {
				str[i] += 3;
			}
			else {
				str[i] = (str[i] + 3 ) % 'z' - 1 + 'a';	
			}
		}
	}
	printf("%s", str);
	return 0;
}
